﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/WebSite.Master" CodeBehind="EnterpriseSafeCert.aspx.cs" Inherits="RN.ERP.Web.Enterprise.EnterpriseSafeCert" %>

<%@ Register Src="~/UserControl/UCArea.ascx" TagName="UCArea" TagPrefix="ucArea" %>
<%@ Register Src="~/UserControl/UCUserLog.ascx" TagName="UCUserLog" TagPrefix="ucUserLog" %>
<%@ Register Src="~/UserControl/UCMarketInfo.ascx" TagName="ucMarketInfo" TagPrefix="ucMarketInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/skins/blue/css/style.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/skins/blue/css/style_msg.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/skins/blue/css/kendo.common.min.css" rel="stylesheet" />
    <link href="../Styles/skins/blue/css/kendo.default.min.css" rel="stylesheet" />
    <script type="text/javascript" src="../Scripts/jquery.min.js"></script>
    <script type="text/javascript" src="../Scripts/ligerUI/js/ligerui.min.js"></script>
    <script type="text/javascript" src="../Scripts/kendo.web.min.js"></script>
    <script type="text/javascript" src="../Scripts/iepngfix_tilebg.js"></script>
    <script type="text/javascript" src="../Scripts/json-data.js"></script>
    <script type="text/javascript" src="../Scripts/EnterpriseSafeCert.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;
        border-collapse: collapse; padding: 0">
        <tr>
            <td class="xx_m  tt_xx_l">
            </td>
            <td class="xx_m  tt_xx_icon">
            </td>
            <td style="width: auto;" class="xx_m">
                安全生产许可证信息
            </td>
            <td style="width: 14px;">
                <img src="../images/xx_r.jpg" width="14" height="33" />
            </td>
        </tr>
        <tr>
            <td class="left_con">
            </td>
            <td colspan="2" style="padding-left: 6px; padding-right: 6px;" valign="top">
                <!--#安全生产许可证-->
                <div class="xkz" id="divSecurityCode" runat="server" table="kh_CorpTable" valtype="0">
                    <div class="xkz_title">
                        <div class="fl">
                            <strong>安全生产许可证</strong></div>
                        <input type="hidden" id="hdnCorpUserguid" runat="server" />
                        <input type="hidden" id="hdnkhCorpUserguid" runat="server" control="CorpUserGuid" />
                        <input type="hidden" id="hdnkhAreaCode" runat="server" control="AreaCode" />
                        <input type="hidden" id="hdnkhCorpName" runat="server" control="CorpName" />
                        <div class="clear">
                        </div>
                    </div>
                    <div class="xkz_con">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="rq_tab">
                            <tr>
                                <td width="101" align="right">
                                    编号
                                </td>
                                <td width="300">
                                    <div class="s_input">
                                        <span class="input_l">
                                            <img src="../images/input_l.jpg" width="10" height="31" alt="" /></span> <span class="input_mm">
                                                <asp:TextBox ID="txtSecurityCode" runat="server" Control="SafeLicenceNo" Style="width: 205px;
                                                    height: 31px; line-height: 31px; border: 0; background: transparent" controlvalid="checkEmpty(this,'')"
                                                    controltext="安全生产许可证编号"></asp:TextBox>
                                            </span><span class="input_r">
                                                <img src="../images/input_r.jpg" width="10" height="31" alt="" /></span>
                                    </div>
                                </td>
                                <td width="89" align="right" nowrap="nowrap">
                                    获取时间
                                </td>
                                <td width="300">
                                    <div class="s_input">
                                        <span class="input_l">
                                            <img src="../images/input_l.jpg" width="10" height="31" alt="" /></span> <span class="input_mm">
                                                <input id="txtSecurityTitleGetDate" runat="server" control="LicenceBeginDate" name="text"
                                                    type="text" value="" style="width: 205px; height: 31px; line-height: 31px; border: 0;
                                                    background: transparent; overflow: hidden" onclick="WdatePicker({skin:'blue',maxDate:'#F{$dp.$D(\'ContentPlaceHolder1_txtEndDate\')}'})"
                                                    controlvalid="checkEmpty(this,'')" controltext="安全生产许可证获取时间" />
                                            </span><span class="input_r">
                                                <img src="../images/input_r.jpg" width="10" height="31" alt="" /></span>
                                    </div>
                                </td>
                                <td width="89" align="right" nowrap="nowrap">
                                    有效期至
                                </td>
                                <td width="303">
                                    <div class="s_input">
                                        <span class="input_l">
                                            <img src="../images/input_l.jpg" width="10" height="31" alt="" /></span> <span class="input_mm">
                                                <input id="txtEndDate" runat="server" name="text" control="LicenceEndDate" type="text"
                                                    value="" style="width: 205px; height: 31px; line-height: 31px; border: 0; background: transparent;
                                                    overflow: hidden" onclick="WdatePicker({skin:'blue',minDate:'#F{$dp.$D(\'ContentPlaceHolder1_txtSecurityTitleGetDate\')}'})"
                                                    controlvalid="checkEmpty(this,'')" controltext="安全生产许可证有效期至" />
                                            </span><span class="input_r">
                                                <img src="../images/input_r.jpg" width="10" height="31" alt="" /></span>
                                    </div>
                                </td>
                            </tr>
                                    <tr>
                                        <td colspan="6">
                                        <div style="width:300px;margin:0 auto">
                                            <div class="ckicon" id="divSave" runat="server" style="float:left">
                                                <a href="javascript:void(0)" id="save" parentdiv="ContentPlaceHolder1_divSecurityCode">
                                                    保存</a></div>
                                            <%--<asp:Button ID="save" CssClass="ckicon" runat="server" Text="保存" parentdiv="tb_Corp_Companyinfo,ContentPlaceHolder1_divSecurityCode,ContentPlaceHolder1_divEmbranchment" />--%>
                                            <div class="ckicon" id="divPost" runat="server" style="float:left">
                                                <a href="javascript:void(0)" id="Post" parentdiv="ContentPlaceHolder1_divSecurityCode">上报</a></div>
                                                <div class="ckicon" id="divCancelPost" runat="server">
                                                <a href="javascript:void(0)" id="CancelPost">取消上报</a></div>
                                            <div class="ckicon" id="divAudit" runat="server">
                                                <a href="javascript:void(0)" id="Audit">审核</a></div>
                                          </div>
                                        </td>
                                    </tr>
                        </table>
                    </div>
                </div>
                <!--#安全生产许可证结束-->
                <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"
                    Height="700px" Width="820px" Behaviors="Close" ShowContentDuringLoad="false"
                    Modal="true" Skin="WebBlue">
                </telerik:RadWindowManager>
                <div class="hx_bg">
                </div>
                
                <div>
                    <div class="xian">
                        <div class="about_title">
                            企业相关证件</div>
                    </div>
                </div>
                <div id="divImages">
                    <div class="corpImages">
                        <asp:Image ID="Image3" runat="server" CssClass="pointer" FuncCode="CorpAQ" sysCode="EF"  checkempty="yes" title="安全生产许可证"/>
                        <div class="corpImagesTitle">
                            <span>安全生产许可证</span> <span style="color: Red;">(必传项)</span></div>
                        <div class="corpImagesBtn">
                            <button funccode="CorpAQ" syscode="EF">
                                上传</button></div>
                    </div>
                </div>
            </td>
            <td class="right_con">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="con_m tt_left_bottom">
                &nbsp;
            </td>
            <td colspan="2" class="con_m">
                &nbsp;
            </td>
            <td class="tt_right_bottom">
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hdnCanUploadPic" runat="server" Value="0" />
    <asp:HiddenField ID="hdnEditModel" runat="server" Value="0" />
    <asp:HiddenField ID="hdnCurrentEmbranchEditModel" runat="server" Value="0" />
    <asp:HiddenField ID="hdnCurrentEmbranchEditResult" runat="server" Value="0" />
    <asp:HiddenField ID="hdnIsShowEmp" runat="server" Value="0" />
    <asp:HiddenField ID="hdnEmbranchGid" runat="server" Value="0" />
    <script type="text/javascript">
           function ShowUpForm(u, w, h, win) {
               win = win || this;
               $.ligerDialog.open({ url: u, width: w, height: h, title: '', buttons: [{ text: '关闭', onclick: function (item, dialog) { dialog.close(); } }] });
               win.ChildDialogWin = this;
               return false;
           }
    </script>
</asp:Content>
